Sd Jwt Factory
constructor(hashAlgorithm: HashAlgorithm = HashAlgorithm.SHA_256, saltProvider: SaltProvider = SaltProvider.Default, decoyGen: DecoyGen = DecoyGen.Default, fallbackMinimumDigests: MinimumDigests? = null)(source)
Parameters
hash Algorithm
the algorithm to calculate the DisclosureDigest
salt Provider
provides Salt for the calculation of Disclosure
fallback Minimum Digests
This is an optional hint, that expresses the number of digests on the immediate level of every DisclosableObject. It will be taken into account if there is not an explicit hint for this DisclosableObject. If not provided, decoys will be added only if there is a hint at DisclosableObject level.